package cn.chi.org.query;

import cn.chi.base.query.BaseQuery;
import lombok.Data;


@Data
public class EmployeeQuery extends BaseQuery {
    private Integer currentPage = 1;
    private Integer pageSize = 5;
    private String keyWords;
    public Integer getStart(){
        return (this.currentPage - 1)*this.pageSize;
    }
}
